﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<AnLe.Models.Project>>" %>
<div id="list-top-proj">
    <% foreach (var pro in Model)
       {%>
    <div class='l-book'>
        <div class='f-img'>
            <a href="<%= Url.Content("~/Projects/Detail?proID=" +pro.ProID) %>">
                <img src='<%= Url.Content(pro.ProImg) %>' height='150px' width='110px' />
            </a>
        </div>
        <div class='f-content'>
            <span class='title-proj-name'><%= Html.Encode(pro.ProName) %></span>
            <span class='title-proj-link'><%= Html.Encode(pro.Link) %></span>
            <span class='title-proj-time'><%= Html.Encode(pro.FinishedTime)%></span>
        </div>
    </div>
    <% } %>
</div>
